package com.eastfair.venuebooking.vo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.eastfair.demand.certificate.CertificateOrderGroup;
import com.eastfair.demand.certificate.CertificateUserGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.eastfair.annotation.annotation.vo.VoInfo;
import com.eastfair.annotation.model.BaseVoGroupClass;
import java.io.Serializable;

import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;

/**
 * <p>
 * 实体类
 * 展会预定场地表
 * </p>
 *
 * @author gj
 * @since 2022-07-22
 */
@Data
@ApiModel(value = "ExhibitionSpaceVO", description = "展会预定场地表")
public class ExhibitionSpaceVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @VoInfo(groups = {BaseVoGroupClass.all.class})
    private Long id;

    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Integer isDeleted;
    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long projectId;
    /**
     * 子系统id
     */
    @ApiModelProperty(value = "子系统id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long subsystemId;
    /**
     * 租户id
     */
    @ApiModelProperty(value = "租户id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long tenantId;
    /**
     * 展会id
     */
    @ApiModelProperty(value = "展会id")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long exhibitionId;
    /**
     * 展会名称
     */
    @ApiModelProperty(value = "展会名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "展会名称长度不能超过255")
    @VoInfo(groups = {CertificateUserGroup.pageFirstAuthForm.class, CertificateOrderGroup.pageOrder.class})
    private String exhibitionName;
    /**
     * 场地ID
     */
    @ApiModelProperty(value = "场地ID")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Long spaceId;
    /**
     * 场地名称
     */
    @ApiModelProperty(value = "场地名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    @Size(max = 255, message = "场地名称长度不能超过255")
    @VoInfo(groups = {CertificateUserGroup.pageFirstAuthForm.class})
    private String spaceName;
    /**
     * 场地编号
     */
    @ApiModelProperty(value = "场地编号")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String spaceCode;
    /**
     * 建筑面积
     */
    @ApiModelProperty(value = "建筑面积")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Double buildArea;
    /**
     * 位置
     */
    @ApiModelProperty(value = "位置")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String location;
    /**
     * 分类名称
     */
    @ApiModelProperty(value = "分类名称")
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String categoryName;
}
